<%--
  Created by IntelliJ IDEA.
  User: YanHilin
  Date: 2020/5/4
  Time: 13:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>鲜花产品评价</title>
    <base href="http://localhost:8080/onlineflower/">
    <%@include file="/page/comment/head.jsp"%>
    <link rel="stylesheet" type="text/css" href="static/css/form.css">
</head>
<body>
<%@include file="/page/enterprise/head_nav.jsp"%>
<div id="content">
<form action="evaluateServlet" method="post">
    <input type="hidden" name="action" value="useraddEvaluate" >
    <div class="card">
        <h5 class="card-header">
            <p >订单号：${requestScope.orderItem.orderid}</p>
            <input type="text" class="form-control"  value="${requestScope.orderItem.enterpriseid}">
            <input type="text" class="form-control"  value="${requestScope.orderItem.id}">
            <input type="hidden" class="form-control" name="enterpriseid" value="${requestScope.orderItem.enterpriseid}">
            <input type="hidden" class="form-control" name="orderitemid" value="${requestScope.orderItem.id}">
        </h5>
        <div class="card-body">
            <input type="hidden" name="flowerid" value="${requestScope.orderItem.flowerid}">
            <h5 class="card-title"><span>鲜花： ${requestScope.orderItem.name}</span></h5>
            <p class="card-text"> 数量：1X ${requestScope.orderItem.count} 单价：${requestScope.orderItem.price} 总金额： ${requestScope.orderItem.totalprice}</p>
        </div>
    </div>
<br/>
    <div class="form-group">
        <input type="hidden" name="userid" value="${sessionScope.user.userid}">
        <label for="exampleFormControlTextarea1">输入评价内容</label>
        <br/>
        <textarea class="form-control" name="content" id="exampleFormControlTextarea1" rows="3"></textarea>
        <br/>
        <button type="submit"  class="btn btn-secondary btn-lg btn-block"><span class="glyphicon glyphicon-send"></span> 提交</button>
    </div>
</form>
</div>
</body>
</html>
